POW.nicename = "Super Speed"
POW.type = "speed"
POW.help = "Hold shift to run super fast! Also let's you jump far!"

function POW:KeyPress( key )
	if( key == IN_SPEED ) then
		GAMEMODE:SetPlayerSpeed(self.owner,250,3000)
	end

	if( key == IN_JUMP ) then
		local dir = self.owner:GetVelocity():GetNormal() + Vector(0,0,1)
		local trace = {}
		trace.start = self.owner:GetPos()
		
		self.owner:SetVelocity( dir * 600 )
	end
end

function POW:KeyRelease( key )
	if( key == IN_SPEED ) then
		GAMEMODE:SetPlayerSpeed(self.owner,250,500)
	end
end

function POW:Initialize()
	Msg(self.nicename.." has been loaded!\n")
end

function POW:Disabled()
	self.owner:PrintMessage(3, self.owner:Name().. " no longer has " ..self.nicename.. ".")
end

function POW:Enabled()
	self.owner:PrintMessage(3, self.owner:Name().. " now has " ..self.nicename.. ".")
end

function POW:Think()
end
